import { ContainerType } from 'tscommon/ts/EnumTypes';

const pcView = () => import('./view/index.vue');
const mView = () => import('./view/index.m.vue');

export function Main(type: ContainerType) {
  switch (type) {
    case ContainerType.PC:
      return pcView;
    case ContainerType.Phone:
      return mView;
    case ContainerType.WX:
    default:
      return () => { };
  }
}